﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="uVirtualWeb._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
    <h2>
        Destaque: Locadora
    </h2>
    <marquee <!--onmouseover="stop()" onmouseout="start()"-->>
        <img src="Imagens\1.jpg" width="200px" height="320px" />
        <img src="Imagens\2.jpg" width="200px" height="3200px" />
        <img src="Imagens\3.jpg" width="200px" height="320px" />
        <img src="Imagens\4.jpg" width="200px" height="320px" />
        <img src="Imagens\5.jpg" width="200px" height="320px" />
        <img src="Imagens\6.jpg" width="200px" height="320px" />
        <img src="Imagens\7.jpg" width="200px" height="320px" />
        <img src="Imagens\8.jpg" width="200px" height="320px" />
        <img src="Imagens\9.jpg" width="200px" height="320px" />
        <img src="Imagens\10.jpg" width="200px" height="320px" />
        <img src="Imagens\11.jpg" width="200px" height="320px" />
        <img src="Imagens\12.jpg" width="200px" height="320px" />
        <img src="Imagens\13.jpg" width="200px" height="320px" />
    </marquee>

    <h3>Notícias</h3>
    <asp:UpdatePanel runat="server" ID="upNews" UpdateMode="Conditional">
        <Triggers>
        </Triggers>
        <ContentTemplate>
            <asp:ListView runat="server" ID="lstNews" ItemPlaceholderID="PlaceHolder1">
                <LayoutTemplate>
                    <table class="table table-bordered table-hover">
                        <tr>
                            <th></th>
                            <%--<th></th>--%>
                        </tr>
                        <asp:PlaceHolder runat="server" ID="PlaceHolder1">
                        </asp:PlaceHolder>
                    </table>
                </LayoutTemplate>
                <ItemTemplate>
                        <tr>
                            <td>
                                <asp:Label ID="Label0" runat="server" Font-Bold="true"><%# Eval("title") %></asp:Label><br />
                                <asp:Label ID="Label4" runat="server"><%# Eval("bodyNews") %></asp:Label>
                            </td>
                            <%--<td><center><a class="btn" data-toggle="modal" role="button">Detalhes</a></center></td>--%>
                        </tr>
                </ItemTemplate>
                <EmptyItemTemplate>
                    Não existem notícias atualmente.
                </EmptyItemTemplate>
            </asp:ListView>
        </ContentTemplate>
    </asp:UpdatePanel>
    <script type="text/javascript">
        $("#menu_home").addClass("active");
    </script>
</asp:Content>
